package com.intellagric.mapper;

import com.intellagric.pojo.TraceTable;
import com.intellagric.pojo.TraceTableExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceTableMapper {
    long countByExample(TraceTableExample example);

    int deleteByExample(TraceTableExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceTable record);

    int insertSelective(TraceTable record);

    List<TraceTable> selectByExample(TraceTableExample example);

    TraceTable selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceTable record, @Param("example") TraceTableExample example);

    int updateByExample(@Param("record") TraceTable record, @Param("example") TraceTableExample example);

    int updateByPrimaryKeySelective(TraceTable record);

    int updateByPrimaryKey(TraceTable record);
}